-- GENERATED SPELL FOR [Barrens Kodo] --


function spell0_3236(pUnit, Event) --@Kodo Stomp,Self--
pUnit:FullCastSpellOnTarget(6266,pUnit)
pUnit:RegisterEvent('Sorts_3236', 3000, 1)
end

function Sorts_3236(pUnit, Event)
local choix_sorts_3236 = math.random(0, 0)
if choix_sorts_3236 == 0 then
pUnit:RegisterEvent('spell0_3236', 1, 1)
end
end

function mob3236_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3236', math.random(1500, 3000), 1)
end

function mob3236_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3236_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3236_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3236, 1, 'mob3236_Action')
RegisterUnitEvent(3236, 2, 'mob3236_Leave')
RegisterUnitEvent(3236, 3, 'mob3236_Kill')
RegisterUnitEvent(3236, 4, 'mob3236_Die')
